MCP Prompts
概述
MCP (Model Context Protocol) Prompts 是通过 MCP servers 暴露的命令,可通过斜杠命令形式调用外部服务的功能。
关键内容
- 命令格式:
/mcp__<server-name>__<prompt-name> [arguments]-
例如:
/mcp__github__list_prs、/mcp__github__pr_review 456 -
权限管理:
mcp__github- 访问整个 GitHub MCP servermcp__github__*- 通配符访问全部工具-
mcp__github__get_issue- 访问某个特定工具 -
应用场景:
- 与外部服务集成(如 GitHub、JIRA)
- 执行需要认证的操作
- 自动化外部系统任务
来源
- Claude How To Slash Commands Reference — 官方文档
相关
- Slash Commands — part_of
- Skills — related_to
- Claude Code — part_of